package com.jhhc.FloodForecast.ForecastModel.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jhhc.FloodForecast.ForecastModel.Dao.ForecastModelMapper;
import com.jhhc.FloodForecast.ForecastModel.Pojo.ForecastModel;
import com.jhhc.FloodForecast.ForecastModel.Service.ForecastModelService;


@Service
@Transactional
public class ForecastModelServiceImpl implements ForecastModelService {

    @Autowired
    private ForecastModelMapper forecastModelMapper;

    @Override
    public List<ForecastModel> selectAll() {
        // TODO Auto-generated method stub
        return forecastModelMapper.selectAll();
    }

    @Override
    public List<ForecastModel> selectById(Integer pid) {
        return null;
        // TODO Auto-generated method stub

    }


}
